home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
Premiere 4.2 SDK r3 Mac
/
Examples
/
.h files
/
PremiereCommon.h
< prev
next >
Wrap
Text File
|
1996-01-25
|
3KB
|
182 lines
//========================================================================================
//
// PremiereCommon.h - Adobe Premiere¬ include file.
//
// Part of the Adobe Premiere¬ 4.2 Plug-In Developer's Toolkit.
//
// Header file written 10/20/93 by Bryan K. ╥Beaker╙ Ressler.
//
// Copyright ⌐ 1992-96, Adobe Systems Incorporated, all rights reserved worldwide.
//
// Version 1.00 10/20/93 Original version.
// Version 1.01 9/12/94 Updated for 4.0.
// Version 1.02 10/6/95 Updated for Premiere 4.2 and CodeWarrior7.
//
//========================================================================================
// START~ Defs-General
//╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤
// Special keys
#define kEnter 3
#define kReturn 13
#define kEsc 27
#define kHelp 5
#define kDelete 8
#define kForwDelete 127
#define kHome 1
#define kEnd 4
#define kPgUp 11
#define kPgDn 12
#define kUpArrow 30
#define kDownArrow 31
#define kLeftArrow 28
#define kRightArrow 29
//---------------------------------------------------------------
#define kStripHeight 16
#define kBandHeight 32
#define CLICKS 600
#define kMaxExpandParms 20
//---------------------------------------------------------------
// Window Kinds
enum {
kPremiereKind = userKind,
kHiddenKind,
kProcKind,
kFloaterKind,
kCanFloatKind
};
//---------------------------------------------------------------
// Fonts and sizes
enum {
fontGeneva9 = 0,
fontGeneva12,
fontChicago12,
fontAbout
};
//---------------------------------------------------------------
// Modifier key bits
#define bSpace 0x2000
#define bCmd 0x0100
#define bShift 0x0200
#define bCapsLock 0x0400
#define bOption 0x0800
#define bControl 0x1000
// START~ Defs-Resnums
//╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤
// Global Constants
#define Signature 'Rand'
#define HideType 'HIDE'
#define Creator 'PrMr'
#define strxOSErrs 1010
//╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤
// CURS resources
enum {
cursArrow = 136,
cursHand = 1000,
cursScissors,
cursDropper,
cursMoveEnd,
cursFist,
cursFinger,
cursBentFinger,
cursIBeam,
cursMenu,
cursResize,
cursResizeH,
cursResizeV,
cursIn,
cursOut,
cursZoomIn,
cursZoomOut,
cursJoin,
cursWorkStart,
cursWorkEnd,
cursCrossHair,
cursEye,
cursDrag,
cursMove,
cursSpin,
cursDragMany,
cursBlockSelect,
cursZoomNone,
cursPush,
cursSlide,
cursSplitDrag,
cursDragMark,
cursDragSeg,
cursDragLayer,
cursMouse1,
cursMouse2,
cursScrubAudio,
cursZoomInReal,
cursZoomOutReal,
cursDrag1Layer,
cursNewTime,
cursDivider,
cursPickColor,
cursTransparency,
cursCut,
cursStandardArrow,
cursPinch,
cursAltFinger,
cursLock,
cursRazorAll,
cursTrash,
cursLink,
cursNoPan,
cursNoZoom,
cursGroup,
cursPosition,
cursSync,
cursMoveMulti,
cursSplitEndDrag,
cursStretch,
cursAudioOverlap,
cursAutoFade
};
// START~ Defs-Types
//╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤
// Local color record, uses 8 bits per channel
typedef struct {
unsigned char alpha;
unsigned char red;
unsigned char green;
unsigned char blue;
} Color8;
//╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤╤
// Special long word based rectangle
typedef struct {
long top;
long left;
long bottom;
long right;
} LongRect;
typedef struct {
long v;
long h;
} LongPoint;
typedef unsigned char Str127[128];